package bakenote.core;

import javax.lang.model.element.Element;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.datatype.Duration;

/**
 * Created by IntelliJ IDEA.
 * User: lello
 * Date: 4/29/11
 * Time: 2:53 PM
 * To change this template use File | Settings | File Templates.
 */
public class ElementalProcedure {

    private Duration duration;
    private String title = "";
	private String description = "";

    public ElementalProcedure() {}

	public ElementalProcedure(Duration d) {
		duration = d;
	}

	public ElementalProcedure(Duration d, String s) {
		duration = d;
		description = s;
	}

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

	public void setDescription(String d) {
		description = d;
	}

    public void setDuration(Duration duration) {
        this.duration = duration;
    }

	public Duration getDuration() {
		return duration;
	}

	public String getDescription() {
		return description;
	}
}
